From: Anatoly Pugachev Date: Mon, 25 Jan 2016 21:19:02 +0000 (+0300) Subject: hwrng: n2 - Attach on T5/M5, T7/M7 SPARC CPUs X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~79 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com//styles.css/%22http:/www.example.com/styles.css?a=commitdiff_plain;h=8efd9c23c9f77fb18b5a67f3ed2a69bc4bef1103;p=linux-4.9.git hwrng: n2 - Attach on T5/M5, T7/M7 SPARC CPUs n2rng: Attach on T5/M5, T7/M7 SPARC CPUs (space to tab fixes after variable names) Signed-off-by: Anatoly Pugachev Signed-off-by: Herbert Xu Gbp-Pq: Topic features/sparc Gbp-Pq: Name hwrng-n2-attach-on-t5-m5-t7-m7-sparc-cpus.patch --- diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c index 843d6f6aee7a..3b06c1d6cfb2 100644 --- a/drivers/char/hw_random/n2-drv.c +++ b/drivers/char/hw_random/n2-drv.c @@ -743,6 +743,16 @@ static const struct of_device_id n2rng_match[] = { .compatible = "SUNW,kt-rng", .data = (void *) 1, }, + { + .name = "random-number-generator", + .compatible = "ORCL,m4-rng", + .data = (void *) 1, + }, + { + .name = "random-number-generator", + .compatible = "ORCL,m7-rng", + .data = (void *) 1, + }, {}, }; MODULE_DEVICE_TABLE(of, n2rng_match);